import { Body, Controller, Get, Param, ParseIntPipe, Post, Req } from '@nestjs/common';
import { CommonService } from './common.service';
import { ResponseUtilService } from '@app/response-util';

@Controller('common')
export class CommonController {
    constructor(
        private readonly service:CommonService
    ){}

    @Get()
    async common() {
        const r = await this.service.common()
        return ResponseUtilService.successRes(r)
    }
    
}
